<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title>{%block title%}AtoZ-Help{%endblock%}</title>
	<meta name="description" content="{{app.description}}" />
	<meta name="keywords" content="{{app.keywords}}" />
	{% block style %}
		<link rel="stylesheet" type="text/css" media="screen" href="/static/css/common.css" />
		
  	{% endblock %}
  	{% block head %}{% endblock %}
</head>
<body>
	<div class="header-wrap">
		<h1 class="logo-text"><a href="/admin/" title="">{{app.name}} - Admin Panel</a></h1>
		
		<div class="searchformwrapper">
			<form action="/search" method="get">
				<input type="text" name="q" size="50">
				<input type="submit" value="Search Help">
			</form>
		</div>
		<div  class="navbar">
			<ul>
				<li><a href='/admin/' title='AtoZ Home'>AtoZ Admin Home</a></li>
				<li><a href='http://atoz-help.googlecode.com' title='AtoZ Repository'>Repository</a></li>
				<li><a href='{{logout_url}}' title='Logout'>Logout</a></li>
        		{% block menu %}{% endblock %}
			</ul>
		</div>
		
	</div>
	
	<div class='body-wrap'>
		<div class='sidebar'>
			<ul>
				<li><a href='/admin/?a=add&t=question'>Add a Question</a></li>
				<li><a href='/admin/?a=add&t=topic'>Add a Topic/Subtopic</a></li>
				<li><a href='/admin/?a=edit&t=question'>Edit a Question</a></li>
				<li><a href='/admin/?a=edit&t=topic'>Edit a Topic/Subtopic</a></li></li>
			</ul>
		</div>
		<div class='content-wrap'>
			<div class='breadcrumb'>{{breadcrumb}}</div>
			<p>Welcome to AtoZ Admin Panel. From here, you can control the Help Pages.</p>
			{{ content }}
			{% block contentextra%}{%endblock%}
		</div>
	</div>
	<div class='footer-wrap'>
		<div class="foot">
			<ul>
				<li>&copy; {% now "Y" %} <a href='{{person.twitter}}'>{{person.name}}</a></li>
				<li><a href="http://www.opensource.org">Open Source Software</a></li>
				<li>Powered by <a href="http://code.google.com/appengine">Google AppEngine</a></li>
				<li>Licensed under <a href="http://www.gnu.org/licenses/gpl-3.0.txt">GNU General Public License v3.0</a></li>
			</ul>
		</div>
	</div>
	
</body>